package com.zzt.video.model.dto;

import com.zzt.video.model.entity.Advertise;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class AdvertiseDto {
    private Long id;
    private String url;
    private String coverUrl;

    public AdvertiseDto() {
    }

    public AdvertiseDto(Advertise advertise) {
        this.id = advertise.getId();
        this.url = advertise.getUrl();
        this.coverUrl = advertise.getCoverUrl();
    }
}
